body {
  font-size: 15px;
  color: #333;
  background: #fff;
  font-family: Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", "tohoma,sans-serif";
  margin: 0;
}


* {
  box-sizing: border-box;
}

.container {
  display: flex;
}

// 头部banner
.banner {
  width: 100%;
  height: 30vw;

  .banner-bg {
    width: 100%;
    height: 30vw;
    background: url(/blog/public/img/bg2.jpeg) no-repeat center/cover;
    filter: brightness(60%);
    position: absolute;
    z-index: -1;
  }

  .flex-center {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;

    .blog-info {
      .blog-title {
        font-size: 3rem;
        text-align: center;
        font-weight: 800;
      }

      .blog-detail {
        margin-top: 30px;
        display: flex;
        justify-content: center;

        span {
          margin: 0 14px;
        }

        .tags-box {
          display: flex;

          .tag {

            a:link {
              color: #fff !important;
              text-decoration: none !important;
            }

            /* 访问过 */

            a:visited {
              color: #fff !important;
              text-decoration: none !important;
            }

            /* 鼠标悬停 */

            a:hover {
              color: #FF5677 !important;
              text-decoration: none !important;
            }
          }
        }
      }
    }
  }
}

.main-box {
  margin-top: 30px;
  display: flex;
}

// 右侧用户信息
.info-box {
  width: 250px;

  #user-box {
    box-shadow: 0 0 1rem rgb(161 177 204 / 40%);
    background-color: #fff;
    border-radius: 13px;
    overflow: hidden;
    white-space: normal;

    .avatar-box {
      width: 250px;
      height: 250px;
      padding: 30px;

      .avatar {
        width: 100%;
        height: 100%;
        border: 1px;
        border-radius: 50%;
      }
    }

    .username {
      margin-top: 20px;
      text-align: center;
      font-size: 1.2em;
      color: #9145B6;
    }

    .email {
      margin-top: 20px;
      text-align: center;
      font-size: 1em;
      color: #999;
    }

    .status-box {
      display: flex;
      padding: 30px;
      justify-content: space-between;

      .status-item {
        display: flex;
        flex-direction: column;
        align-items: center;

        .status-count {
          color: #999;
          margin-top: 10px;
        }
      }
    }

    .subscribe-btn-box{
      padding: 20px;
      width: 100%;
      button{
        width: 100%;
      }
    }

  }

  .category-box,
  .catalogue-box {
    margin-top: 30px;
    padding: 30px;
    box-shadow: 0 0 1rem rgb(161 177 204 / 40%);
    background-color: #fff;
    border-radius: 13px;
    overflow: hidden;
    white-space: normal;

    .box-title {
      color: #B958A5;
      font-size: 1.3em;
    }

    .category-item,
    .catalogue-item {
      display: flex;
      align-items: center;
      margin-top: 20px;
      justify-content: space-between;

      .category-name,
      .catalogue-name {
        font-size: 1.2em;
        color: #4C3F91;

        a:link {
          color: #4C3F91 !important;
          text-decoration: none !important;
        }

        /* 访问过 */

        a:visited {
          color: #4C3F91 !important;
          text-decoration: none !important;
        }

        /* 鼠标悬停 */

        a:hover {
          color: #FF5677 !important;
          text-decoration: none !important;
        }
      }

      .category-count {
        background-color: rgba(255, 78, 106, .1);
        display: inline-block;
        width: 26px;
        height: 26px;
        line-height: 26px;
        text-align: center;
        border-radius: 100%;
        color: #B958A5;
      }
    }
  }
}

#markdown-box {
  margin-left: 30px;
}

// 底部的工具栏
.tool-mask{
  position: fixed;
  bottom: 30px;
  right: 30px;
  height: 50px;
  width: 100px;
  z-index: 100;
}